.class public Lcom/estrongs/android/pop/app/premium/g;
.super Les/gl;
.source "RecallDialogCms.java"


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    sget-object v0, Les/fl;->x:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-direct {p0, v0, v1}, Les/gl;-><init>(Ljava/lang/String;Z)V

    return-void
.end method

.method public static g()Lcom/estrongs/android/pop/app/premium/g;
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/app/messagebox/c;->b()Lcom/estrongs/android/pop/app/messagebox/c;

    move-result-object v0

    sget-object v1, Les/fl;->x:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/messagebox/c;->a(Ljava/lang/String;)Les/gl;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/premium/g;

    return-object v0
.end method


# virtual methods
.method protected a(Ljava/lang/String;IZ)Les/ll;
    .locals 1

    const/4 p2, 0x0

    .line 1
    :try_start_0
    new-instance p3, Lorg/json/JSONObject;

    invoke-direct {p3, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string p1, "enable"

    .line 2
    invoke-virtual {p3, p1}, Lorg/json/JSONObject;->optBoolean(Ljava/lang/String;)Z

    move-result p1

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/estrongs/android/pop/o;->i(Z)V

    if-nez p1, :cond_0

    return-object p2

    :cond_0
    const-string p1, "datas"

    .line 4
    invoke-virtual {p3, p1}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object p1

    if-nez p1, :cond_1

    return-object p2

    .line 5
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p3

    const-string v0, "interval"

    .line 6
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p3, v0}, Lcom/estrongs/android/pop/o;->e(I)V

    const-string v0, "d_limit"

    .line 7
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {p3, v0}, Lcom/estrongs/android/pop/o;->f(I)V

    const-string v0, "total_limit"

    .line 8
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result p1

    invoke-virtual {p3, p1}, Lcom/estrongs/android/pop/o;->g(I)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 9
    invoke-virtual {p1}, Lorg/json/JSONException;->printStackTrace()V

    :goto_0
    return-object p2
.end method

.method protected c()Ljava/lang/String;
    .locals 1

    const-string v0, "{\n \"enable\": false,\n \"name\": \"recall\",\n \"datas\": {\n  \"d_limit\": 1,\n  \"interval\": 0,\n  \"total_limit\":3\n }\n}"

    return-object v0
.end method
